body,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd,
ul,
ol,
li,
th,
td,
p,
blockquote,
pre,
form,
fieldset,
legend,
input,
button,
textarea,
hr {
  margin: 0;
  padding: 0;
}
body {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #000;
}
img,
input {
  vertical-align: middle;
}
table {
  border-collapse: collapse;
}
fieldset,
img {
  border: 0;
}
a,
li,
img,
div {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}
abbr,
acronym {
  border: 0;
  font-variant: normal;
}
.ell {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.oh {
  overflow: hidden;
}
.fix {
  *zoom: 1;
}
.fix:after {
  content: "\200B";
  display: block;
  height: 0;
  clear: both;
}
/*用于清除浮动，内容为\200B指零宽度空格，即可省略visible:hidden*/
.tl {
  text-align: left;
}
.tr {
  text-align: right;
}
.tc {
  text-align: center;
}
.wrap {
  min-width: 320px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.fb {
  font-weight: bold;
}
.mt20 {
  margin-top: 20px;
}
.mt10 {
  margin-top: 10px;
}
.ml10 {
  margin-left: 10px;
}
.mr10 {
  margin-right: 10px;
}
.mt15 {
  margin-top: 15px;
}
.mt5 {
  margin-top: 5px;
}
.ma {
  margin: 0 auto;
}
.p10 {
  padding: 10px;
}
.pb10 {
  padding: 10px;
}
.ml5 {
  margin-left: 5px;
}
.dn {
  display: none;
}
.db {
  display: block;
}
.g6 {
  color: #666;
}
.g3 {
  color: #333;
}
.g9 {
  color: #999;
}
.gc {
  color: #ccc;
}
.f14 {
  font-size: 14px;
}
.pt10 {
  padding-top: 10px;
}
.pt20 {
  padding-top: 20px;
}
:root,
body {
  height: 100%;
}
a,
li {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.pr {
  position: relative;
}
.circle {
  border-radius: 100%;
  -webkit-border-radius: 100%;
}
.cw {
  color: #fff;
}
.lh30 {
  line-height: 30px;
}
.lh24 {
  line-height: 24px;
}
.df {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.df1 {
  -webkit-box-flex: 1;
  flex: 1;
  -webkit-flex: 1;
  width: 0%;
}
.b {
  font-weight: bold;
}
.i {
  font-style: italic;
}
.p-r {
  position: relative;
}
/*两端对齐*/
.fullscreen {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.btn-cl1 {
  width: 60px;
  background: #ffd102;
  border-radius: 3px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 12px;
  color: #202025;
  border-bottom: #d7a13a solid 1px;
}
.btn-cl2 {
  width: 180px;
  display: inline-block;
  background: #ffd102;
  border-radius: 44px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #202025;
  border-bottom: #d7a13a solid 2px;
}
.icon-switch {
  width: 55px;
  height: 30px;
  background: #e8e8ed ;
  display: inline-block;
  border-radius: 30px;
  vertical-align: middle;
  position: relative;
}
.icon-switch b {
  height: 26px;
  display: block;
  width: 26px;
  background: #fff;
  box-shadow: #999 0 0 3px;
  border-radius: 28px;
  margin-top: 2px;
  margin-left: 2px;
  transition: margin-left 1s;
  -webkit-transition: margin-left 1s;
}
.icon-switch.active {
  background: #ffd200;
}
.icon-switch.active b {
  margin-left: 27px;
  transition: margin-left 1s;
  -webkit-transition: margin-left 1s;
}
.index-bar {
  background: url("../../images/shop/tit_bg.png") center center no-repeat;
  background-size: 177px 3px;
  position: relative;
  height: 40px;
  line-height: 40px;
  text-align: center;
}
.index-bar h2 {
  font-size: 16px;
  font-weight: normal;
}
.index-bar .more {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  display: block;
  width: 15px;
  height: 20px;
  line-height: 20px;
  background-position: -78px -73px;
}
.menu-switch,
.price-label,
.card-icon,
.search-icon,
.more,
.top-icon-0,
.top-icon-1,
.top-icon-2,
.top-icon-3,
.foot-icon-0,
.foot-icon-1,
.foot-icon-2,
.foot-icon-3 {
  background: url("../../images/shop/index_icon.png") left top no-repeat;
  background-size: 172px auto;
}
.page-head {
  background-color: #fff;
  box-shadow: 0 0 4px #000;
  position: relative;
  z-index: 2;
}
.page-head header {
  height: 35px;
  padding: 10px;
  position: relative;
  z-index: 3;
}
.page-head .search-box {
  padding: 0 40px;
  height: 100%;
}
.page-head .search-box .cont {
  background-color: #efefef;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  height: 100%;
  padding-left: 30px;
  position: relative;
}
.page-head .search-box .search-icon {
  display: block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  background-position: -72px 0;
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 1;
}
.page-head .search-box .search-input {
  background: none;
  padding: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.page-head .menu-switch {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-position: 4px 6px;
}
.page-head .card-icon {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1;
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background-position: -33px 6px;
}
.page-head .card-icon .num {
  background-color: #ee4e4e;
  color: #fff;
  padding: 0 4px;
  font-size: 10px;
  border-radius: 5px;
  position: absolute;
  right: -5px;
  top: -2px;
  z-index: 1;
  width: auto;
  height: 12px;
  line-height: 100%;
}
.page-head .nav-top {
  padding: 10px 0;
  transition: all .8s;
  position: absolute;
  left: 0;
  top: -67px;
  z-index: 1;
  width: 100%;
  background-color: #fff;
}
.page-head .nav-top li {
  float: left;
  width: 25%;
}
.page-head .nav-top a {
  display: block;
  text-align: center;
}
.page-head .nav-top .icon {
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  margin: 0 auto;
  padding-bottom: 5px;
}
.page-head .nav-top-on {
  top: 0;
}
.menu-switch-on {
  transform: rotate(90deg);
  transition: all .8s;
}
.top-icon-0 {
  background-position: 1px -29px;
}
.top-icon-1 {
  background-position: -45px -29px;
}
.top-icon-2 {
  background-position: -145px -27px;
}
.top-icon-3 {
  background-position: -95px -29px;
}
.footer {
  background-color: #21222a;
  padding-top: 10px;
  padding-bottom: 10px;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
}
.footer li {
  float: left;
  width: 25%;
  text-align: center;
}
.footer a {
  display: block;
  color: #a6a7aa;
}
.footer .on {
  color: #face01;
}
.footer i {
  display: block;
  width: 28px;
  height: 20px;
  line-height: 20px;
  margin: 0 auto;
  padding-bottom: 5px;
}
.foot-icon-0 {
  background-position: 1px -72px;
}
.foot-icon-1 {
  background-position: -36px -71px;
}
.foot-icon-2 {
  background-position: -108px -72px;
}
.foot-icon-3 {
  background-position: -145px -72px;
}
.goods-collection {
  box-shadow: 0 0 3px #bbb;
}
.goods-collection .cover {
  overflow: hidden;
  position: relative;
  height: 240px;
}
.goods-collection .cover .cont {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
}
.goods-collection .cover .tit {
  padding-top: 60px;
  font-size: 24px;
}
.goods-collection .cover .desc {
  padding-top: 10px;
  font-size: 16px;
}
.goods-collection .cover .btn-0 {
  margin-top: 20px;
  display: inline-block;
  padding: 5px 10px;
}
.goods-collection .cover .line {
  width: 30px;
  height: 2px;
  border-bottom: 1px solid #fff;
  margin: 0 auto;
  padding-top: 10px;
}
.goods-collection .cover .sjx {
  bottom: -5px;
  top: auto;
}
.goods-collection .cover-img {
  width: 100%;
  height: 240px;
}
.goods-collection .list {
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  overflow-x: auto;
}
.goods-collection .list ul {
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.goods-collection .list li {
  display: inline-block;
  width: 116px;
  padding-right: 5px;
  padding-left: 5px;
  line-height: 26px;
  text-align: center;
}
.goods-collection .list .pic {
  width: 116px;
  height: 116px;
}
.goods-collection .list .tit {
  margin-top: 10px;
  font-size: 14px;
  color: #4a4a4a;
}
.goods-collection .list .desc {
  color: #c5c5c5;
}
.goods-collection .list .price {
  color: #4a4a4a;
}
.white-line-btn {
  border: 1px solid #fff;
  color: #fff;
}
.index-box {
  border-top: 10px solid #e5e6e7;
}
.all-goods {
  padding-top: 20px;
}
.goods {
  background-color: #e5e6e7;
  padding: 5px;
}
.goods-list li {
  float: left;
  width: 50%;
  padding: 5px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.goods-list li a {
  display: block;
  background-color: #fff;
  border: 1px solid #b3b3b3;
  text-align: center;
  box-shadow: 0 0 5px #b3b3b3;
  line-height: 24px;
}
.goods-list li .pic {
  width: 100%;
}
.goods-list li .tit {
  font-size: 14px;
  font-weight: normal;
}
.goods-list li .desc {
  color: #c5c5c5;
}
.goods-list li .price {
  font-weight: bold;
  line-height: normal;
  padding-top: 5px;
  padding-bottom: 5px;
}
.goods-list li .price span {
  display: inline-block;
}
.price-label {
  display: inline-block;
  width: 24px;
  height: 12px;
  line-height: 12px;
  font-size: 6px;
  color: #fff;
  margin-left: 10px;
  vertical-align: middle;
}
.hot-label {
  background-position: -100px 0;
}
.down-label {
  background-position: -148px 0;
}
.foot-section {
  height: 60px;
}
.main {
  position: absolute;
  left: 0;
  top: 55px;
  right: 0;
  bottom: 0;
  overflow-y: auto;
}
.news-goods {
  padding-right: 10px;
  padding-left: 10px;
}
.new-goods-list li {
  margin-top: 10px;
  border: 1px solid #e4e4e4;
}
.new-goods-list .tit {
  font-size: 18px;
  margin-top: 10px;
  padding-right: 10px;
  padding-left: 10px;
}
.new-goods-list .desc {
  padding-right: 10px;
  padding-left: 10px;
  font-size: 12px;
  color: #c5c5c5;
  line-height: 30px;
}
.new-goods-list .btn {
  float: right;
}
.new-goods-list .bottom {
  padding: 0 10px 10px 10px;
  line-height: 40px;
}
.new-goods-list .now-price {
  font-size: 16px;
}
.new-goods-list .original-price {
  text-decoration: line-through;
  color: #b5b5b5;
  margin-left: 10px;
}
.btn {
  display: block;
  width: 80px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-bottom: 3px solid #d16464;
  border-radius: 20px;
  -webkit-border-radius: 20px;
}
.red-btn {
  color: #fff;
  background-color: #f66a6a;
}
.class-item .pic {
  position: relative;
}
.class-item .pic img {
  width: 100%;
  height: 100px;
}
.class-item .pic h2 {
  width: 100%;
  position: absolute;
  left: 0;
  top: 40px;
  z-index: 1;
  font-size: 24px;
  color: #fff;
  text-align: center;
}
.class-second-nav {
  position: relative;
  padding: 20px 5px 10px;
  background-color: #b9b7b7;
}
.class-second-nav .sjx {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  position: absolute;
  left: 50%;
  top: -5px;
  z-index: 1;
  margin-left: -5px;
  background-color: #b9b7b7;
}
.class-second-nav li {
  float: left;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 25%;
  padding-right: 5px;
  padding-left: 5px;
  padding-bottom: 10px;
}
.class-second-nav a {
  display: inline-block;
  width: 79px;
  height: 30px;
  line-height: 30px;
  width: 100%;
  border: 1px solid #000;
  font-size: 16px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  text-align: center;
  background-color: #fff;
}
.opacity-bg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.topic-top {
  position: relative;
}
.topic-top .pic {
  width: 100%;
  height: 242px;
}
.topic-top .words {
  position: absolute;
  left: 0;
  top: 100px;
  z-index: 1;
  width: 100%;
  color: #fff;
  text-align: center;
  letter-spacing: 6px;
  word-spacing: 10px;
}
.topic-top .tit {
  font-size: 28px;
}
.topic-top .desc {
  margin-top: 10px;
  font-size: 16px;
}
.topic-description {
  position: relative;
  padding: 20px;
  color: #9f9f9f;
  line-height: 24px;
  font-size: 16px;
}
.sjx {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  position: absolute;
  left: 50%;
  top: -5px;
  z-index: 1;
  margin-left: -5px;
  background-color: #fff;
}
.yellow-line {
  border-bottom: 5px solid #ffd102;
  width: 120px;
  margin: 30px auto 0;
}
.search-tab {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #efefef;
}
.search-tab a {
  display: block;
  float: left;
  width: 33%;
  border-right: 1px solid #d4d4d4;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #a8a8a8;
}
.search-tab a:last-child {
  border: 0;
}
.search-tab .on {
  color: #000;
}
